//
//  Backpack.m
//  parachute
//
//  Created by Zach A. Thomas on 12/14/06.
//  Copyright 2006 Aeroplane Software, LLC. All rights reserved.
//

#import "Backpack.h"


@implementation Backpack

#pragma mark initialization

- (id)initWithApiKey:(NSString *)newApiKey:(NSString *)newUsername
{
	[super init];
	apiKey = [newApiKey retain];
	username = [newUsername retain];
	return self;
}

- (void)connect
{
	
}

- (NSData *)request:(NSString *)path:(NSDictionary *)parameters:(BOOL)secondTry
{
	return [[NSData alloc] init];
}

- (void)setPageId:(NSNumber *)newPageId
{
	if (currentPageId != newPageId) {
		[currentPageId release];
		currentPageId = [newPageId retain];
	}
}

#pragma mark items
-(NSArray *)listItems:(NSNumber *)pageId
{
	return [[NSArray alloc] init];
}

- (void)createItem:(NSString *)content:(NSNumber *)pageId
{
	
}

- (void)updateItem:(NSNumber *)itemId:(NSString *)content:(NSNumber *)pageId
{
	
}

- (void)destroyItem:(NSNumber *)itemId:(NSNumber *)pageId
{
	
}

- (void)toggleItem:(NSNumber *)itemId:(NSNumber *)pageId
{
	
}

- (void)moveItem:(NSNumber *)itemId:(NSString *)direction:(NSNumber *)pageId
{
	
}

#pragma mark notes
- (NSArray *)listNotes:(NSNumber *)pageId
{
	return [[NSArray alloc] init];
}

- (void)createNote:(NSString *)title:(NSString *)body:(NSNumber *)pageId
{
	
}

- (void)updateNote:(NSNumber *)noteId:(NSString *)title:(NSString *)body:(NSNumber *)pageId
{
	
}

- (void)destroyNote:(NSNumber *)noteId:(NSNumber *)pageId
{
	
}

#pragma mark emails
- (NSArray *)listEmails:(NSNumber *)pageId
{
	return [[NSArray alloc] init];
}

- (NSDictionary *)showEmail:(NSNumber *)emailId:(NSNumber *)pageId
{
	return [[NSDictionary alloc] init];
}

- (void)destroyEmail:(NSNumber *)emailId:(NSNumber *)pageId
{
	
}

#pragma mark tags
- (NSArray *)listPagesWithTag:(NSString *)tag
{
	return [[NSArray alloc] init];
}

- (void)tagPage:(NSArray *)tags:(NSNumber *)pageId
{
	
}

#pragma mark pages
- (NSArray *)listPages
{
	return [[NSArray alloc] init];
}

- (void)createPage:(NSString *)title:(NSString *)body
{
	
}

- (NSDictionary *)showPage:(NSNumber *)pageId
{
	return [[NSDictionary alloc] init];
}

- (void)destroyPage:(NSNumber *)pageId
{
	
}

- (void)updateTitle:(NSString *)title:(NSNumber *)pageId
{
	
}

- (void)updateBody:(NSString *)body:(NSNumber *)pageId
{
	
}

- (void)linkPage:(NSNumber *)linkedPageId:(NSNumber *)pageId
{

}

- (void)unlinkPage:(NSNumber *)linkedPageId:(NSNumber *)pageId
{
	
}

- (void)sharePage:(NSArray *)emailAddresses:(BOOL)isPublic:(NSNumber *)pageId
{
	
}

#pragma mark reminders
- (NSArray *)listReminders
{
	return [[NSArray alloc] init];
}

- (void)createReminder:(NSString *)content:(NSDate *)remindAt
{
	
}

- (void)updateReminder:(NSNumber *)reminderId:(NSString *)content:(NSDate *)remindAt
{
	
}

- (void)destroyReminder:(NSNumber *)reminderId
{
	
}

#pragma mark separators
- (void)createSeparator:(NSString *)name:(NSNumber *)pageId
{
	
}

- (void)updateSeparator:(NSNumber *)separatorId:(NSString *)name:(NSNumber *)pageId
{
	
}

- (void)destroySeparator:(NSNumber *)separatorId:(NSNumber *)pageId
{
	
}

@end
